package com.riko.comic.module.comic.bean.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 漫画章节
 *
 * @author riko
 * @since 2021/11/01
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("chapter")
public class Chapter {

    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField(value = "comic_id")
    private Integer comicId;

    @TableField(value = "chapter_number")
    private Integer chapterNumber;


}
